How can I de-install a Perl module installed via `cpan`?

Posted by Kinopiko on Stack Overflow See other posts from Stack Overflow or by Kinopiko
Published on 2010-04-13T01:33:51Z Indexed on 2010/04/13 1:43 UTC
Read the original article Hit count: 439

Filed under:
|
|

I am using Perl running in user space (not installed via root) and installing modules via the command-line cpan. I would like to know if there is a simple way to remove a module without having to do a lot of work deleting individual files.

I searched for this question on the internet and found some answers, but the answers I've found seem to either discuss using the Perl package manager (specific for Microsoft Windows), otherwise operating-system specific (BSDpan), suggesting using cpanplus (which I've had several bad experiences with), or ended by pointing to a dead link as follows: http://www.cpan.org/misc/cpan-faq.html#How_delete_Perl_modules.

My question is specifically whether there is a clean way to remove a module installed via cpan.

© Stack Overflow or respective owner

Related posts about perl

Related posts about module